package com.ssy.lingxi.report.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 新增数据布局
 */
public class UpdateDataLayoutVO implements Serializable {
    private static final long serialVersionUID = 3508535830088877923L;
    /**
     * 布局id
     */
    private Long id;
    /**
     * 布局菜单名称
     */
    @NotNull(message = "布局菜单名称不能为空")
    private String name;

    /**
     * 排序：越小越靠前
     */
    @NotNull(message = "排序大于0")
    @Positive(message = "排序大于0")
    private Integer sort;

    /**
     * 是否展示：0-否，1-是
     */
    private Integer isShow;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }
}
